$(window).ready(function() {


    $('#trace-now').on('click',()=>{
        var a= $("#trace-now");
        var traceNumber=$("trace-input").val();
        if(traceNumber!="")
          a.attr("href","/traceability/trace-result?traceNumber="+traceNumber);
    });

});